home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / debugdoc.arc / DEBUG.DOC
Encoding:
Text File  |  1986-02-15  |  3.0 KB  |  119 lines

  1. For compact reference format, print at 132 char/line, 8 lines/inch, and attach
  2. side by side, lining up using the dotted lines.
  3.  
  4. --------------------------------------------------------------------------------
  5.  
  6.  
  7.  
  8.             DEBUG SUMMARY    ver 0.4              HES  12/85
  9.                                 NCSU
  10.     INVOCATION:   DEBUG [filespec] [parm1] [parm2]       ...mcnc!ecsvax!hes
  11.                                Henry E. Schaffer
  12.               COMMAND SUMMARY
  13.  
  14.    Name       Format         Comments - (default register(s))
  15.  
  16. Assemble      A[address]          Default:    starts at 100.    (CS)
  17.  
  18. Compare       C range address  Second address in range uses offset only.  (DS)
  19.  
  20. Dump          D[{address|range}]  Default:  starts at 100 or after last D.  (DS)
  21.  
  22. Enter          E address [list]    With no list enter 1-2 hex chars after prompt;
  23.                  space bar to advance, - to back up.
  24.                  Enter key to end command. (DS)
  25.  
  26. Fill          F range list    Reuses list if list shorter than range.  (DS)
  27.  
  28. Go          G[=address] [address[address...]]  Up to 10 breakpoints.    (CS:IP)
  29.  
  30. Hexarithmetic H value value
  31.  
  32. Input          I portaddress          Displays byte read.
  33.  
  34. Load          L[address[drive sector sector]]        (CS)
  35.  
  36. Move          M range address                (DS)
  37.  
  38. Name          N filespec [filespec]
  39.  
  40. Output          O portaddress byte
  41.  
  42. Quit          Q
  43.  
  44. Register      R [registername]          Default: shows all registers and flags.
  45.  
  46. Search          S range list                (DS)
  47.  
  48. Trace          T[=address][value]      Default:    one instruction.  (CS:IP)
  49.  
  50. Unassemble    U[{address|range}]      Default: starts at 100 or after last U.
  51.                       Will complete last instruction. (CS)
  52.  
  53. Write          W[address[drive sector sector]]  BX, CX have no. of bytes.  (CS)
  54.                            ^low order
  55.                  Notes
  56.  
  57. Commands are case insensitive, given after the DEBUG "-" prompt.
  58.  
  59. Ctrl-Break to end a command.
  60.  
  61. Ctrl-Num Lock for No-Scroll (any other char to restart).
  62.  
  63. --------------------------------------------------------------------------------
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.             PARAMETER DEFINITIONS
  72.  
  73. address     [{seg reg|seg addr}:] offset
  74.  
  75. byte        1-2 hex chars
  76.  
  77. drive        single digit  0 for drive A, 1 for B, etc.  see Load, Write
  78.  
  79. filespec    [drive:][path]filename[.ext]            see Name
  80.  
  81. hex char    0 through 9, A through F  (case insensitive)
  82.  
  83. list        {byte|string} ...
  84.  
  85. offset        value
  86.  
  87. portaddress    value                        see Input, Output
  88.  
  89. range        address{address | L value}
  90.             ^offset     ^for 10000 use 0
  91.              only
  92.  
  93. registername    {AX|BX|CX|DX|SP|BP|SI|DI|    (case        see Register
  94.          DS|ES|SS|CS|IP|PC|F}         insensitive)
  95.  
  96. sector sector    really sector sectors(involved)         see Load, Write
  97.                ^value ^value (values 1-3 hex chars)
  98.  
  99. seg addr    value
  100.  
  101. seg reg     {CS|DS|ES|SS}
  102.  
  103. string        char(s) in single or double quotes
  104.         can use opposite type within the other;
  105.         to use same type within - double it
  106.  
  107. value        1-4 hex chars
  108.  
  109.             Notes
  110.  
  111. Commands and parameters may be adjacent, or separated by a blank or
  112. comma.    Consecutive hex values must be separated by a blank or comma.
  113.  
  114. [   ]    item(s) enclosed are optional
  115.  
  116. { | }    choose one of the items
  117.  
  118. ...    repetition of the previous item allowed
  119.